package com.guigu.www.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.www.pojo.Gather;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface GatherService extends IService<Gather> {
    //查询所以的要通过的入库产品
    public IPage queryGatherAll(int pageno, int pagesize);
    //查询所以需要审核的入库产品
    public Gather queryGatherById(int id);
    //审核入库产品是否通过
    public boolean updateGaherById(Gather gather);
    //查询所以的入库申请查询
    public IPage<Gather> queryByGaherAllShow(int pageno,int pagesize);
    //根据流水号查询入库的产品申请单
    public Gather queryGaherBygatherId(String gatherId);
    //查询所以入库通过的入库审请单
    public IPage<Gather> queryBydispatgather(int pageno, int pagesize);
    //调度成功 修改状态
    public boolean updateGatherBygatherId(String gatherId);

    //根据流水号查询入库的产品申请单
    public Gather queryGaherBygatherIds(String gatherId);
    //查询所有调度完成的产品
   public  IPage<Gather> queryBywarehousin(int pageno, int pagesize);
    //根据登记的入库单号查询对应的入库数据 入库明细数据
    public Gather queryByGatherGatherdetailswarhousing(String gatherId);
    //登记 修改状态
    public boolean updateWarehosingGaher(Gather gather);
    //查询所以的登记通过的入库产品
    public IPage<Gather> queryByWarehousingexaminepage(int pageno, int pagesize);
    //修改改库存表为K002-4 通过
    public boolean updatewarehousingexaminequeryGatherByGathers(Gather gather);
    //查询所以的登记过的入库产品
    public IPage<Gather> queryGatherallwarehousing(int pageno, int pagesize);
}
